package com.tlgen.starter.service;

import com.tlgen.starter.spring.BeanPostProcessor;
import com.tlgen.starter.spring.Component;

@Component
public class CustomBeanPostProcessor implements BeanPostProcessor {

    @Override
    public void postProcessBeforeInitialization(String beanName, Object bean) {
        System.out.println("初始化之前");
    }

    @Override
    public void postProcessAfterInitialization(String beanName, Object bean) {
        System.out.println("初始化之后");
    }

}
